<?php
namespace app\admin\validate;

use think\Validate;

/***
 * 管理员登录验证器 规则填写
*/
class Login extends Validate{

    protected  $rule = [
        'username' => 'require',
        'pwd' => 'require',
        'verifyCode' => 'require',
    ];
    protected  $message=[
      'username.require'=>'账号必须填',
      'pwd.require'=>'密码必须填',
      'verifyCode.require'=>'验证码必须填',
    ];

}